/*************************************************************
 * Title: 
 * Description: 
 * Author: Snow Huang
 * Email: Shaobin.Software@gmail.com Shaobin_Software@163.com
 * CreateTime: Aug 23, 2010 11:26:03 AM
 * Copyright © 落羽社区 All right reserved
 ************************************************************/
package snow.biz.system.dao.impl;

import java.util.List;

import snow.biz.system.dao.UserDao;
import snow.biz.system.model.User;
import snow.biz.system.model.query.UserQuery;
import snow.core.domain.dao.HibernateDao;

/**
 * 
 */
public class UserDaoImpl extends HibernateDao<User, Integer> implements UserDao {

	public UserDaoImpl() {
		super(User.class, Integer.class);
	}

	/**
	 * @param user
	 * @see snow.biz.system.dao.UserDao#deleteUser(snow.biz.system.model.User)
	 */
	public void deleteUser(User user) {
	}

	/**
	 * @param username
	 * @return
	 * @see snow.biz.system.dao.UserDao#findUser(java.lang.String)
	 */
	public User findUser(String username) {
		return null;
	}

	/**
	 * @param userQuery
	 * @return
	 * @see snow.biz.system.dao.UserDao#findUsers(snow.biz.system.model.query.UserQuery)
	 */
	public List<User> findUsers(UserQuery userQuery) {
		return super.find(userQuery);
	}

	/**
	 * @param user
	 * @see snow.biz.system.dao.UserDao#saveUser(snow.biz.system.model.User)
	 */
	public void saveUser(User user) {
		super.save(user);
	}

	/**
	 * @param user
	 * @see snow.biz.system.dao.UserDao#updateUser(snow.biz.system.model.User)
	 */
	public void updateUser(User user) {
		super.update(user);
	}

}
